package com.power.bank.member.domain;

import com.power.bank.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.power.bank.common.annotation.Excel;

/**
 * 设备管理对象 pb_device
 * 
 * @author power
 * @date 2024-12-16
 */
public class PbDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String deviceStatus;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 设备在线状态 */
    @Excel(name = "设备在线状态")
    private String deviceOnlineStatus;

    /** 所属租户 */
    @Excel(name = "所属租户")
    private Long deviceTantId;

    /** 设备同步状态 */
    @Excel(name = "设备同步状态")
    private String deviceSync;

    /** 阿里云标识 */
    @Excel(name = "阿里云标识")
    private String deviceKey;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
    public void setDeviceOnlineStatus(String deviceOnlineStatus) 
    {
        this.deviceOnlineStatus = deviceOnlineStatus;
    }

    public String getDeviceOnlineStatus() 
    {
        return deviceOnlineStatus;
    }
    public void setDeviceTantId(Long deviceTantId) 
    {
        this.deviceTantId = deviceTantId;
    }

    public Long getDeviceTantId() 
    {
        return deviceTantId;
    }
    public void setDeviceSync(String deviceSync) 
    {
        this.deviceSync = deviceSync;
    }

    public String getDeviceSync() 
    {
        return deviceSync;
    }
    public void setDeviceKey(String deviceKey) 
    {
        this.deviceKey = deviceKey;
    }

    public String getDeviceKey() 
    {
        return deviceKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("deviceStatus", getDeviceStatus())
            .append("deviceType", getDeviceType())
            .append("deviceOnlineStatus", getDeviceOnlineStatus())
            .append("deviceTantId", getDeviceTantId())
            .append("deviceSync", getDeviceSync())
            .append("deviceKey", getDeviceKey())
            .toString();
    }
}
